package com.yh.homestay.common;

import com.yh.homestay.pojo.CapitalItem;
import java.io.Serializable;

public class ItemEditResult implements Serializable {
    private Integer code;
    private String msg;
    private CapitalItem capitalItem;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public CapitalItem getCapitalItem() {
        return capitalItem;
    }

    public void setCapitalItem(CapitalItem capitalItem) {
        this.capitalItem = capitalItem;
    }

    public ItemEditResult() {

    }

    public ItemEditResult(Integer code, String msg, CapitalItem capitalItem) {
        this.code = code;
        this.msg = msg;
        this.capitalItem = capitalItem;
    }

    @Override
    public String toString() {
        return "ItemEditResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", capitalItem=" + capitalItem +
                '}';
    }
}